package com.yunsc.store.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-04-25 14:01
 */
@Data
public class PageDetailVO implements Serializable {
    private PageData page;
    // private Object page;
    private Object items;
    // private List<PageItems> items;
    @Data
    public static class PageData {
        private String name;
        private String type;
        private Map<String, Object> params;
        private Map<String, Object> style;
    }

    @Data
    public static class PageItems {
        private String name;
        private String type;
        private Object params;
        private Object style;
        private List data;
        // private List<Map<String, Object>> data;
        // @JsonInclude(JsonInclude.Include.NON_EMPTY)
        // private List<Map<String, Object>> defaultData;
        @JsonInclude(JsonInclude.Include.NON_EMPTY)
        private Integer dataNum;
    }
}


